package com.musollo.mp3tools;

import com.musollo.domain.MP3;

/**
 * This interface defines a way to write the contents of the MP3 class instance
 * back to the actual MP3 file.
 * 
 * @author paw.janssen
 * 
 */
public interface TagWriter {

	/**
	 * This method clears all existing tags from the actual MP3 file and the mp3
	 * instance, so the result is an empty MP3 instance and corresponding MP3
	 * file.
	 * 
	 * @param mp3
	 *            - The instance to clear the tags from.
	 */
	public void clearMP3Tags(MP3 mp3);

	/**
	 * This method tries to save the MP3 instance class back to the original mp3
	 * file.
	 * 
	 * @param mp3
	 *            - The instance to update to an actual file.
	 */
	public void writeMP3(MP3 mp3);
}
